<?php
session_start();
$productID=$_GET['productID'];
if(isset($_SESSION['cart'][$productID])){
	$qty=$_SESSION['cart'][$productID]+1;
}else{
$qty=1;
}
$_SESSION['cart'][$productID]=$qty;
header("Location:cart.php");
exit();
?>